﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataSetEsquemaAppCeiiTableAdapters;

/// <summary>
/// Descripción breve de LugarBLL
/// </summary>
public class BeneficiarioBLL
{
    public BeneficiarioBLL() { }

    //conexion con base de datos EscorpiusTour
    private BENEFICIARIOTableAdapter _beneAdapter = null;
    protected BENEFICIARIOTableAdapter Adapter
    {
        get
        {
            if (_beneAdapter == null)
                _beneAdapter = new BENEFICIARIOTableAdapter();

            return _beneAdapter;
        }
    }

    [System.ComponentModel.DataObjectMethodAttribute
    (System.ComponentModel.DataObjectMethodType.Select, true)]
    public DataSetEsquemaAppCeii.BENEFICIARIODataTable selectByRut(int rut)
    {
        return Adapter.GetDataByRut(rut);
    }
}
